const time = (join = '-') => {
    let d = new Date();
    let Y = d.getFullYear();
    let M = d.getMonth() + 1
    let D = d.getDate();
    // let H = d.getHours();
    // let Ms = d.getMinutes();
    // let S = d.getSeconds();
    return `${Y}${join}${M}${join}${D}`
}

module.exports = time